/* Виджет прогресса  */
.lessons {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 10px;
}
.lessons .total-ended-lessons,
.lessons .total-left-lessons {
    display: flex;
    align-items: center;
}
.lessons .total-ended-lessons::before {
    content: '.';
    background: var(--color-main);
    width: 20px;
    height: 10px;
    color: var(--color-main);
    border-radius: 5px;
    margin-right: 10px;
    padding-inline: 8px;
    font-size: 8px;
}
.lessons .total-left-lessons::before {
    content: '.';
    background: #F4F4F4;
    width: 20px;
    height: 10px;
    color: #F4F4F4;
    border-radius: 5px;
    margin-right: 10px;
    padding-inline: 8px;
    font-size: 8px;
}
.progress_container .html-content {
    display: flex;
    border-radius: 20px;
    padding: 20px;
    background: var(--color-white);
    background-size: contain;
    flex-direction: column;
    /*flex-direction: column;
    align-items: flex-start;*/
    color: var(--color-black);
    border: 1px solid var(--color-border);
}
.progress_container .progress_top {
    display: flex;
    flex-direction: row;
}
.course_progress_container .progress_top {
    padding-bottom: 20px;
}
.progress_container .progress_bottom {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    gap: 10px;
    border-top: 1px solid var(--color-border);
}
.progress_container .progress_bottom p {
    margin: 0;
}
.progress_container .progress_bottom p.progress_rank_title {
    padding: 5px 15px;
    border-radius: 30px;
    background-color: var(--color-main);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-white);
    width: max-content;
}
.progress_container .progress_bottom div.progress_rank_img {
    border-radius: 10px;
    width: 100%;
    height: 200px;
    background: rgba(201, 234, 187, .5);
    /*background-size: contain; */
    background-size: auto 180px;
    background-position: center;
    background-repeat: no-repeat;
}
.progress_left {
    display: flex;
    flex-direction: column;
}
.progress-label {
    font-family: var(--font-main) !important;
    font-size: 20px;
    text-align: center;
    font-weight: 300;
    text-align: left;
    margin-bottom: auto;
}
.box{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    margin-left: auto;
    /*margin-inline: auto;
    margin-top: 5px;
    margin-bottom: 20px;*/
}
.box, .box svg {
    height: 150px;
    width: 150px;
    /*height: 250px;
    width: 250px; */
}
.box span {
    position: absolute;
    top: 5px;
    font-family: var(--font-main), sans-serif !important;
    color: var(--color-black);
}
.progress{
    position: relative;
    height: 100%;
    width: 100%;
    background: no-repeat center/100% url(https://fs20.getcourse.ru/fileservice/file/download/a/589916/sc/335/h/1958875c7927614a08525b9a16690033.svg);
    border: none;
    border-radius: 100%;
    margin-bottom:0;
    box-shadow:none;
}
.text-progress {
    color: transparent;
}
.progress .inner-circle{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 135px;
    height: 135px;
    /*width: 227.428px;
    height: 227.428px; */
    background: none;
    border-radius: 100%;
}
.progress svg circle {
    transform: rotate(272deg);
    transform-origin: center;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--color-main);
    stroke-width: 10px ;
    cx: 75px ;
    cy: 75px ;
    r: 70px ;
    stroke-linecap: round;
    stroke-dasharray: calc(3.1415 * 2 * 70 + 1); 
    stroke-dashoffset: calc(3.1415 * 2 * 70 - 1);
    /*stroke-width: 16.8021px ;
    cx: 125.0118px ;
    cy: 125.0118px ;
    r: 118.7648px ; 
    stroke-linecap: round;
    stroke-dasharray: calc(3.1415 * 2 * 120 + 1); 
    stroke-dashoffset: calc(3.1415 * 2 * 120 - 1);  */
}
.progress .inner-circle .num{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
}
.progress .inner-circle .num p:nth-child(1) {
    font-size: 24px;
    font-family: var(--font-main), sans-serif !important;
    color: var(--color-main);
    margin:0;
    font-weight: 700;
    line-height: 120%;
}
.progress .inner-circle .num p:nth-child(2) {
    font-size: 16px;
    font-family: var(--font-main), sans-serif !important;
    margin:0;
    text-align:center;
    text-transform: initial;
    white-space:nowrap;
    line-height: 120%;
}
.inner-circle2 {
    height: 14vw!important;
    width: 14vw!important;
    border: 5px solid #838383
}
@media (min-width: 801px) {
    .pro {
        display: none
    }
}
/* Только профессор (без круга) */
.bez_progressa .course_progress_container .progress_rank {
    border-top: none !important;
    padding-top: 0 !important;
}
.bez_progressa .course_progress_container .progress_top {
    display: none;
}

/* Виджет доступа */

.xdget-purchases {
    display: none;
}
.access_container .box, 
.access_container .box svg {
    height: 100px !important;
    width: 100px !important;
}
.access_container .box span {
    position: absolute;
    top: 5px;
    color: #000000;
}
.access_container .progress{
    position: relative;
    height: 100%;
    width: 100%;
    background: no-repeat center/100% url(https://fs.getcourse.ru/fileservice/file/download/a/620666/sc/95/h/f15752077b441fb3de7411366bc4f71e.svg);
    border: none;
    border-radius: 100%;
    margin-bottom:0;
    box-shadow:none;
}
.access_container .progress_score{
    background: no-repeat center/100% url(https://fs.getcourse.ru/fileservice/file/download/a/620666/sc/454/h/0ffcb922fab6dffdcc0b0124ca157c0b.svg) !important;
}
.access_container .text-progress {
    color: transparent;
}
.access_container .progress .inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 94.971px;
    height: 94.971px;
    background: none;
    border-radius: 100%;
}
.access_container .progress svg circle {
    transform: rotate(272deg);
    transform-origin: center;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--color-btn);
    stroke-width: 6.7208px;
    cx: 50.0047px;
    cy: 50.0047px;
    r: 47.5296px;
    stroke-linecap: round;
    stroke-dasharray: calc(3.1415 * 2 * 60 + 1);
    stroke-dashoffset: calc(3.1415 * 2 * 60 - 1);
}
.access_container .progress_score svg circle {
    stroke: #FFFFFF !important;
}
.access_container .progress .inner-circle .num{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
}
.access_container .progress .inner-circle .num p:nth-child(1) {
    font-size: 24px;
    margin:0;
    font-weight: 700;
    line-height: 100%;
    color: var(--color-btn);
}
.access_container .progress .inner-circle .num p:nth-child(2) {
    font-size: 16px;
    margin:0;
    text-align:center;
    text-transform: initial;
    white-space:nowrap;
    line-height: 100%;
}
.access_container .inner-circle2 {
    height: 14vw!important;
    width: 14vw!important;
    border: 5px solid #838383
}
@media (min-width: 801px) {
    .access_container .pro {
        display: none
    }
}

.access_container .xdget-image.width-fit img {
    width: 100%;
    border-radius: 10px;
    height: 450px;
    object-fit: cover;
    object-position: left;
    margin-bottom: 30px;
}
.access_prolong svg, 
.tariff_upgrade svg {
    margin-right: 10px;
}
.access_prolong,
.tariff_upgrade {
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid var(--color-btn);
    text-decoration: none;
    transition: .2s linear;
    display: flex;
    align-items: center;
    font-weight: 700;
    line-height: 120%;
    margin-top: 20px;
}
.tariff_upgrade {
    margin-top: auto !important;
}
.access_prolong:hover,
.tariff_upgrade:hover {
    border-color: var(--color-btn-status);
    color: var(--color-white);
    background-color: var(--color-btn-status);
    text-decoration: none;
}
.access_prolong:hover svg path {
    fill: var(--color-white) !important;
}
.tariff_upgrade:hover svg path {
    fill: var(--color-white) !important;
    stroke: var(--color-white) !important;
}

.current_tariff {
    font-weight: 700;
    color: var(--color-main);
    font-size: 20px;
    margin-top: 20px;
}

.access_widget_container .html-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.access_widget_container .progress_container {
    display: flex;
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    background: var(--color-white);
    background-size: contain;
    flex-direction: column;
    /*flex-direction: column;
    align-items: flex-start;*/
    color: var(--color-black);
    border: 1px solid var(--color-border);
    flex: 1;
}
.progress_container.access_container .progress_top {
    padding-bottom: 0;
}
.progress_container.access_container .progress_top .progress_left {
    padding-right: 20px;
}
span.total-access p {
    margin-bottom: 0;
}
@media screen and (max-width: 620px) {
    .access_container .progress svg circle {
        stroke-width: 6.7208px !important;
        cx: 50.0047px !important;
        cy: 50.0047px !important;
        r: 47.5296px !important;
        stroke-linecap: round;
        stroke-dasharray: calc(3.1415 * 2 * 60 + 1);
        stroke-dashoffset: calc(3.1415 * 2 * 60 - 1);
    }
}